#tooldev-general
1 messages Β· Page 54 of 1
think that's loseless
thats what you use when you do photoediting
indeed it is
but the raw files from my old 70D was ~25MB
so it was quite a jump heh
buy poecoin today
wat
good
eth/btc are hugest scams and i can't wait for them to crash, blockchain is an overhyped concept without a real use case
I like the idea of moving funds without institutional (i.e. banks) intermediaries
I do believe the blockchain niche is immature and needs a "dotcom crash"
a big one
I think China is doing the right thing of banning cowboy ICOs - that's the scam trap
i disagree that it has any real world applications
and there's some real shady people behind it
and it also has a huge environmental impact
who are the real shady people?
@polar island @chrome topaz can you add the colon ratio notation for pricing currency? i'd like to be able to do ~b/o 0.43:1 chaos
the fraction notation is kinda ghetto and makes people think you're only selling at those amounts, not just ratio
u can do 1/10
yeah, but you can't easily do 1.5:10 without doing 15/100, which makes people think you're selling in amounts of 100
confused
ok
try doing that with some piece of currency
on poetrade it will only let you buy in amounts of 100
or at least send whisper messages for that much
that is by design
because if I wanna sell 1000 alts, i dont want people asking to buy 25 alts
its unintuitive, i'd like to be able to sell at those ratios but not necessarily those amounts
allow both then
fractions for fixed amounts
colons for free amounts
won't let you
the interface in game won't let you
can
*can't combine fractions and decimals
i can explain in detail why i need that, im playing the arbitrage game and want to undercut my competitors by some small amount
the problem is, that when i do, buyers see that, and think that i won't take quantities lower than my ratio shows
yeah, try it
wait
the game doesn't let you do either yet
but you could theoretically use the Note function and write that
what i'm asking is for you to support taht
custom ratios via Note
i can, but will poeapp parse that?
im going to put an exalt up for that amount right now
on HSC
the custom note vs prefixed note is no differently exported to the river
yeah, i just want to make sure that poeapp and poetrade parse it correctly
since the game doesn't officially support it
it's not showing up yet
also, would something like 0.43:1 chaos work?
thats what i really want to be able to do, stuff like that
er 0.43/1 chaos
oh i typed wrong
ha
then u just do 0.43 chaos lol
doesn't work
gets truncated to 0.45 chaos
or even 0.4 or 0.5 in some cases
haven't fully figured that out yet
i just want to be able to see their ratio, and undercut by some arbitrary, small ratio instantly
without needing the buyer to think they have to buy a shitton of orbs to get that ratio from me
i had the opposite probem
i type in 1/1125 alts
or whatever
and people would be "hi, can i buy 25 alts"
"im like, no penny trades please"
what i suggested would be a nice mix, one notation for fixed quantity trades, another for free quantity trades
Β―_(γ)_/Β―
right now, im trying to flip some big currency and it's cumbersome because i have to set large quantities to undercut people so i'm not getting as many sales as i would if i didn't undercut lol
perhaps that's why it's not working as you want it to π
i'm not undercutting by some abysmal amount
but rather an amount that is actually a good deal in comparison
its just too small to express in a whole fraction without requiring a bigger trade generally
now to see if another idea i had works...
@polar island it works in poe.trade but not poeapp btw
i still dont see it on poeapp but its on poetrade
took it down just now but can put it back up
k
plz consider my suggestion ^_^
I'm not sure what the point is
you can't price stuff in 1.499999 because everybody would do that to "undercut" people
the minimum resolution is 0.5 because some people have trouble operating fractions
so it's simpler to allow them than to educate
that you have to price 3/2 instead of 1.5
yeah, but for big currencies, even 0.05 or 0.08 can be a big deal in terms of discount
such as?
i would give an example, but it's the market i'm working right now so i can't really share one
well i can think of another example later
actually busy atm
you kind of gave an impression you were not, lol
a 0.05 difference should be specified as 5/100
i took the time to do that, because i had the idea already in my mind. otherwise i would need to formulate an analogous example to what i'm doing
or 1/20
thinking about it, my problem is actually solved with the revelation you can use a Note to mix decimals with fractions
hopefully poeapp supports it soon too
hmm partially
think you could make the minimum resolution 0.25 @chrome topaz ?
i agree that it really shouldn't go too low
but that seems reasonable, can still provide decent margins when dealing with bigger currencies
even 0.1 might be ok
up to you, really
takes 2
ctrl+click to inventory, ctrl+click back to stash
for non- stacked currency
and other itesm
doesn't necessarily end up back in the same place. might not matter
yeah just drag for second step
you can also clear by putting 0 of the currency type
but then it won't inherit the tab's buyout
it actually doesn't display on poetrade or poeapp when you do that
effectively the same
takes 3 clicks in acquisition
heh.. marketing acquisition would be a pretty viable solution to maintain market share of poe.trade
how so?
how big would you say the niche is for people who don't pony up for premium tabs?
people running a fleet of mules?
the alternative is that you add i18n support to poe.trade
marketing the convenience of managing ur sales through acquisition (making it easier to manager, etc)
not sure how it would help poe.trade in any way
I was assuming that poe's own trade thing doesn't index the forums... perhaps it is?
oops.
yeah otherwise reddit would overflow with complaints
fair enough, apologies - my ignorance
@gritty olive can you add a feature to make an image of the current report?
the whole thing, not just the see-able area, since you can scroll
the ratelimiting header stuff is live now
that's pretty cool you know what else would be cool online status for forum users and current league
would be cool if the river had modifier data that was easier for a machine to understand
cough also official data api plz cough
yes!
I'll buy you a beer or, lots, @compact isle . I need an excuse to escape swedish winter anyways π
I will also chip beers for proper data apis
@mortal bone If you're interested in new stuff from Microsoft, check out the Microsoft Connect keynote runnign now
there's some pretty nice stuff they're announcing
aye
9hrs of material lol
Yeah, that is super handy
they hadsomething similar, but beneath the video
they'll cut this up into separate videos after it's done as usual, im guessing
Yeah, I normally watch the cut videos after their talks
There is normally a lot of bloat that I don't have any interest in
ya, i usually just watch the keynote live, and then wait for all the crap to get cut out
guys, your thoughts on vs code live share and similar teletype feature in atom?
i was laughing for like 10 mins after they were announced π
and then sadness took a place
so if atom brings it first, is that a reason for it not to be available in let's say vs code?
well, to be honest i don't really care who brought if first
i'm just curious what was the reasons behind it O_o
because people have been asking for it for ages
and the 3rd party tools (tried 2 or 3) all were buggy and crappy
like - really? O_O
ok, i'm might be not that big fan of different IT communities and can't be called a 'real programmer'
but, c'mon.. someone really wanted such a tool/feature to get live?
what do you mean?
seems a weird feature to me too
there's a reason why me and my team tried 3 different products
i'll leave it at that.
i mean - this is nohow will improve your code quality overall, but instead will bring such a mess into the dev processes (simultaneously changing the code, huh)
it's called pair programming
also, the notion of going through a complex problem with a remote colleauge using this instead of a screensharing app is more convenient
for me is't looks more like a fancy ad, then the real thing
my bubble is fine tho π and i'm thruly open to the new knowledge, i just want to get the deep meaning of this %)
if you want just to share your code - there are lots of tools around (in terms of > complex problem with a remote colleauge)
my bubble is better than your bubble
well, seems weird for me.. like - really weird when two major tools announce the same feature
yeah they both are text editors written using "web technology" i think that's enough reason to never touch them
you're using a chat application that is based on a web technology right now
yeah and i hate it
@chrome topaz adept of vim/far/other oldschool technique? π
web tech aside, discord's either gonna turn to shit or shut down once they run out of money
crazy how people continue to depend on it for their communication
wanna talk about skype on linux? π
post 4.3
which was shutted down a few days ago
i heard skype also moved to electron
yep, long time ago.. but
explains why it's such garbage
atm discord is much better optimized and designed then skype (if we count that both were written with 'web technologies')
well, to be perfectly honest, i was against every electron app not so long time ago (still not using skype cos of it, but still)
but, c'mon.. is there any real alternative that can compete with 'web' in terms of UI?
I'll put it this way.. HTML5 and CSS is not that bad. It's the javascript that sucks donkey balls.
how easy and how flexible it is out of the box
The thing that gets me is, why aren't these text editors using a c backend with the html/css frontend
League of Legends did it with their client. You get a ton of flexibility, and the performance from c
because js is much easier to write than C
but it is super slow when making things like a text editor
or anything for that matter
but, there's always some actual reason behind that 'hate on everything'
uhu... and then?
we'll all stick to the things we like more π
the reasons are 80% of the time petty garbage complaints, imo
js is perfectly fine, and with WebASM shipped in every major browser, we may see some decent performing apps
but with the javascript, i'm 100% agreeing, it's not meant for serious computation, and im cringing when it's used in a UI context
it's the 1-thread main-event-loop crap
because it doesnt have a good memory model / concurrency handling
they just stick their head in the sand and say "multi threading isn't a thing"
also rendering is annoying
please consider reading through https://wiki.theory.org/index.php/YourLanguageSucks
good thing my main language isn't on there
@chrome topaz yea trust me, i've been ranting on javascript for 15+ years.
that just means it sucks because it's irrelevant
π
brainfuck is the greatest language of all time
im just reading the c# sucks
well, i honestly tried jfx, electron and qt for the recent year to write up a few pet projects, that pretend to be 'cross-platform' and all that kind of stuff
and, in terms of designing and describing UI - there were nothing better then pure html/css out there
maybe i'm wrong ot didn't find a 'correct tool', but that's my subjective opinion
and the guy who wrote that section doesn't know about oop best practices.
closes window
still want to try sciter when i'll have some spare time
Qt is cross platform
Qt is pretty solid
it definitely doesn't pretend
.net core and mono is also cross platform for c#
I once compiled acquisition for android just for fun and it just worked
eah.. qt+qml is the subject to discuss from all my trio, but still
the problem I have with qt is it reimplements the standard library
i've used qt and qml commercially for developing kiosk and touch screen apps
so you have fun casting between std types and qt all day every day
Cordova :trollface:
commecrial qt, sweet
'A commercial license keeps your code proprietary' https://www1.qt.io/buy-product/
spendy
yeah you don't really need to buy it, the free one is under LGPL so you can keep your code closed if you link to qt dynamically
ok, i didn't know that.
that's kinda crazy
i can actually use it for some personal projects and not corporate projects then
but
i'd rather learn electron or react native
to get with the times
i've played with phonegap back in like 2013
meanwhile, while the chat is active - back to the original question :)
thoughts on 'live share' and 'telepathy' features in vs code and atom respectively?
i've heard @simple ravine point, but still can't get it (i'm aries, mb that's the reason :D)
i'm still trying to confuse new-school hr's with "i'm an aries, choleric and introvert. your thoughts?" π
(i'm taurus, and i think horoscopes are bull)
seems like
"corrupted": false,
was removed from the stash API. Only
"corrupted": true,
remains
Seems consistent with the policy of being declarative about what is there, rather than enumerating all possible properties and saying whether itβs present or not
API design principles coming into conflict with game information exposure principles
That doesnt sound consistent
π€
the poedb.tw dev is in here, right?
can't remember his name though.
if you're reading this, can you let me know when you've done the datamining for the patch that just dropped? it has 3.1.0 content in it apparently.
ah @velvet fog
.dat seems same as before
It's most likely just models and such in content.ggpk
that's not currently being used by the engine
@gritty olive consider this:
[
{
"displayMode" : 0,
"name" : "Wand",
"values" : []
},
...
]
This is from the json "properties" key of a wand. it's not weapon_type: "wand", it's not "wand" : true
it's a declaration about something that is set, not one out of many options
from an API perspective, this doesn't yield a consistent API, per your point i agree. what is consistent, is ggg's approach to information exposure about game content
it almost feels like inverse yaml or a dsl
oooh! another cloth map!
subjugator or dominator? decisions decisions
you need to think avout the programmatic approach
not just how you would read it as a human
my investment in convincing y'all that this makes sense from ggg perspective hits an all-time low π
It's just not proper api response, which is fine xD
I do hope they add some lootfilter updates for the elder/shaper items (flags)
so perhaps the right direction to take it would be: how do you formulate a good api which respects ggg's wanting to not reveal stuff
ie, perhaps stuffing "corrupted" into the properties array would be more consistent
reminds me: for requirements on armour and weapon: it's "strength" or "dexterity" if it's only one attribute, but it's "str" and "dex" if you have multiple stat requirements (hybrid items) -- this is one example where you could improve an api with no regressions in terms of information reveal
Does anyone know what render engine PoB uses? Or is it custom on top of OpenGL?
I just can't find any file that handles rendering or any call to a library or anything... just calls here and there to functions like 'DrawImage'
@compact isle When seeing rate limits like this:
X-Rate-Limit-Ip:45:60:60,240:240:900
X-Rate-Limit-Ip-State:5:60:0,5:240:0
is there any chance the middle value in the state row could show the remaining seconds of the current window? Right now it's just always the same as the rule. It would make life a lot easier as a client. So something like:
X-Rate-Limit-Ip:45:60:60,240:240:900
X-Rate-Limit-Ip-State:5:53:0,5:233:0
when 7 seconds into both windows?
@fickle yew i thought it was 5:60:7 when 7 seconds in
As far as I understand the last value is only non-zero if you're actually rate limited.
So you're blocked from making more requests for 7 seconds in that case.
oh my bad
My first pasted block is actual values from a real request.
So indication of when my window started other than that I've made 5 requests.
is it a sliding window?
I don't think so, but I don't know for sure. It seems like a fixed window starting at the first request.
In my tests I saw complete resets to 1:60
ok, well that's a good data point
you could just track your usage client side
i route all my requests through a service which handles local rate limiting
can just block on it or use callbacks, whatever makes sense for you
Sure, I can implement that. But it'd still be simpler to implement a pretty good client if you knew how long the remaining window was.
seems reasonable
You get remaining time if you are actually rate limited, but every time you're rate limited you lose a minutes worth of throughput.
@timid grotto it's custom and these functions are implemented by simplegraphic dll
@chrome topaz Thanks, I forgot I asked here (sorry). I also asked on #1βendgame-help and answered myself there (in case someone else has the same question in the future and searches discord like I did). I finally found this topic which contains the source code for simplegraphic.dll (C++) and plans/forks to convert the render engine to qt (also C++
I think): https://github.com/Openarl/PathOfBuilding/issues/28#issuecomment-250057156 π
@chrome topaz how much are you dreading trying to add the new shaped and elder items xyz
what's the problem with them?
@velvet fog did you see this? https://www.reddit.com/r/pathofexile/comments/7din9a/31_static_strike_buff/
@hazy fog it's data. He may have to add a display option based on whether or not isElder is true or isShaped
and a bunch of new mods
Adding mods to the list is easy
When they come through the river and he hasn't seen them add them to a list
Curate said list to a searchable format and done
essence items don't have a unique background
Some essence mods are actually identical to the regular mods (while some others are not)
more akin to atlas bases
atlas bases are normal items
@polar island @chrome topaz i have another proposal for item notes
instead of freely allowing notes, allow certain tags to be used in the notes
like
i could write "~b/o 10 exa mixed chaos fuse" and you guys could display that i'm allowing people to purchase my item with mixed currency of chaos or fusing equal to the total value of my item
syntax doesnt even have to be that
but yeah, i feel as if we should have that functionality in a trade site, the ability to set prices in multiple currency forms
or at least let people know that we accept other orbs for our items
hell, i'd even be fine with "~b/o 10 exa ~b/o 900 chaos ~b/o 2000 fuse"
and let that item be listed multiple times for each of those prices
once per currency type of course
yeah, but some people won't bother asking, i've almost missed out on trades by not saying "i'll take other currency if you don't have enough of this one"
can you imagine people with tons of some other type of currency, who want an item, but won't make an offer without the type of the asking price?
i literally just had this happen again btw, that's why im suggesting this
What if I built a third-party auction house that didn't use bots

Put up item -> bid on item -> after set amount & bidding is over it is removed and the person who won can go exchange and it alerts the person who put it up that person is the winner via email or a desktop app
You could do this, and it wouldn't be against the rules afaik
how are you gonna enforce it? what if somebody wins my exalted at a bid of 1 chaos and I just put them on ignore
@delicate ore having it listed multiple times is problematic as it will make it even simpler to create spam listings
@chrome topaz ok, forget about the multiple listings then, how about letting the buyer hover over the price to see all the prices the seller has set for the item?
that sounds like a feature i spend time and effort on implementing and then 3 people use it
well if you don't want to do that, then could you list the acceptable currencies in the same way?
"~b/o 1 exa +chaos +fuse +chance" or something
@chrome topaz no need to worry about that if you put into place an honor / ban system and another system which allows people who post items to set a minimum bid threshold
would enjoy seeing how people react to it at least π
sounds good but lets do it instead ASN.1-encoded
I meant for buyouts
Do you internally use ASN.1-encoded for poe.trade?
pretty sure he is giving rogue a hard time
guess that means I am giving him a hard time
or he just uses it to store buyouts is a very small amount of space
0..1 for b/o, price then price then currency identifier
don't forget indicators of types take up abyte
what indicators?
Ohh, I thought you were talking about another piece of data from the prices
I was really confused
we only get 16 bytes per row! every nibble counts!
I just somewhat realized that bytes are modeled after digestion terminology interesting
I never thought too hard about the names
lol
Moreover, 1982 documentation for the Integrated Woz Machine refers consistently to an "8 bit nibble"
Thanks woz.
lol
"DEC64 is intended to be the only number type in the next generation of application programming languages."
ew ew ew
tbf its basically fixed point
hw fixed point would be cewl
well not fixed point
uhhhh
idk what you call it but int with exponent lol
isn't that basically a double with a different mantissa size?
no
the base is 10, not 2
so when printing it as a decimal you won't get stuff like 0.0999999999999999...
it's basically something similar to the special types you used when building trading software
that is optimized for processing and storage
so you'd have
1234.56
123.456
12.3456
1.23456
etc
if only everyone had 4 or 8 fingers instead of 5 on each hand
society would have naturally adopted binary-based counting systems
lol what does it matter
we wouldn't have adopted a number system that makes things like 0.09999999 occur
didn't some mesopotamian civs adopt a 60-based system?
you mean floating point issues?
yes, the 60-base was awesome
i think it was babylonians
6 fingers would be as good as 4 or 8. we'd be better at fractions but binary would still suck
we could also type "querty" without flexing a digit π
are you guys high
sadly no. i still need to hit 90 this race
lol, i'm across the pond, half-drunk, back at the hotel and now watching the new IT movie
high on life bois
this movie is fuuucked up
anyone know if you can get the list of leagues that PoeNinja currently supports through their api?
I have just done an alpha release of my PoeSimCraft tool. If you are interested you can download it from https://github.com/DanielWieder/PoeSimCraft/releases/tag/v.1
@civic sluice lol we were just talking about a simcraft for poe on reddit, gj
oh this is to simulate crafting, not combat
still nice
are essences coming?
and metacrafting?
The basic plan is that Beta will be an improved results page
R1 will include metamods and essences
R2 will incorperate item data from trading sites
I'm willing to reprioritize things if there is demand for some features sooner than others
I'd also like to do a full UI rework at some point since this was basically my first WPF project
opal ring is missing Life mod
no items have implicits yet
since it really only matters for vaal orbs I didn't think it would be that important compared to other things
you should probably add a global Not for subconditions too
It should be the last option
i mean, i want to be able to do an if/and/count/sum and then check if it wasn't true
that's fair
you're going to add saving and loading of simulations settings right?
and of results?
yes
can you make it code-style? i'd like to be able to just go into a text file and type out the simulations i want to run
oh, in that case you should also offer a commandline version
I'll probably have the saved data in JSON
and if I do that then I can do a command line version that takes the JSON
works for me
just had a crash trying to go back and reselect the base type
you're going to add support for annuls, right?
and eternals?
oh, i know a feature you need to add
number of passes for the simulation
show the average number of crafted items, and perhaps the results by each pass
so like, you could do 100x simulations of 1000c budget
yep
although you can increase the budget
so you can just do 100000c instead
so I might not do multiple passes
ok
at some point I will allow the user to change the limit of the sim duration
at the moment it's capped at a minute or so
although that will probably be through a config file
found an issue
chaos and alcs always guarantee at least 2 prefixes and 2 suffixes
essences too
your app allows 1 to happen
also, subconditions seem to be not checking out right
my curent craft is:
oh, I'll take a look
Opal Ring i84
Start:
Alc
While (Not T1 Cold & Not T1 WED)
Chaos
Wend
End
the t1 cold and t1 wed are in two different not subconditions
i guess i can check for T1 Cold and T1 WED in the items page
also i suggest adding meta properties to match operators other than And
and also, adding more of them, stuff like # of free prefixes/suffixes
oh i know what it was
they don't show up when in Tier mode
that's fine i guess, just need to use another subcondition
yeah, I've disabled them for tier mode since most of them dont' make sense
I probably should allow the open prefixes/suffixes though
also, to actually use the multiple item checking thing, then you need to support universal And/Or/Not for all subconditions in the setup page
you need to be able to say both, "if any of the subconditions are true" or "if none of the subconditions are true", in addition to the default "if all of the subconditions are true"
huh, that took a bit longer than I expected to figure out
as it turns out the NOT conditional behavior is working as expected
you did this
While(!X && !Y)
While(!true && !false))
While(false && true))
While(false))
so when one was true and the other was false it exited
I'll add in that overall NOT condition so you can do this
While(!(X && Y))
While(!(true && false))
While(!(false))
While(true)
now that I think about it, that's probably what you were meant by the last comment
@fickle yew I do have a a request, vaal gems
I guess gems are a little harder since level of gem & vaal
@compact isle what does the third number mean? X-Rate-Limit-Account:45:60:60,240:240:900 X-Rate-Limit-Account-State:1:60:0,13:240:0
the timeout
the last one is like the punishment timeout
Rip people with > 240 tabs
I will have to do a warning
Yes, they do
It's just they can also refresh their tabs
I will have to add a timeout for manual refresh
please wait 4 minutes
my app has become a mobile game
@compact isle rate limit is per session id?
or per ip?
coolio
I don't think we do any ratelimiting by session
@compact isle Did you see my message the other day about whether it'd be possible to see the remaining time of the rate limiting window (as 2nd chunk in the State header)?
Can keep track of it locally, would just make for simpler clients.
Time remaining would actually be extremely beneficial
Sometimes you can't keep track of it, let's say the account views their tabs on the site, and you're also doing a request, you have no scope of whether the site request caused it to go over or you did.
Time remaining would be nice to know in-case such a situation occurs
the time remaining until your hit count hits 0 again?
I would recommend amount of requests left in time window
couldn't you just do max - hits?
not if you have multiple applications that use the same quota
that will be displayed in the output already though
if you do 2 requests from app A and 2 requests from app B then it will say you've made 4 requests out of the max
max - 4 = how many you have remaining
oh, my mistake
we don't track hits per application
off-topic, this in-fllight wifi is a dumster fire (or it's discord), i had to open a vpn connection to even connect to Discord
meanwhile Telegram etc works just fine
How's OAuth coming along, @compact isle ?
not too badly
great, i think that will be a good thing overall to have
seconded
thirded
@compact isle btw, i dunno if this is intentional or just a url rewrite oversight, but in most cases, api.pathofexile.com/ is synonymous with www.pathofexile.com/api/ except http://www.pathofexile.com/api/trade/data/items gets hijacked by the new trade site
re: api.pathofexile.com/trade is hijacked by www.pathofexile.com/trade rules
ah, interesting
i assume the intent is to deprecate /api/ in favour of subdomain
Harbinger and Abyss not found π
https://api.pathofexile.com/forum/view-forum/bug-reports works if you ignore the ssl errors
yep definitely something up with the rules there
I like how you're sending messages without uploading data
intriguing, i know
ouch
Los Angeles -> Stockholm
Everyone else sleeping. Perfect time to dig into some of the new .net core 2.1 low-level performance stuff they added
iex(10)> (PoeApi.Caller.leagues() |> elem(1)).body |> :zlib.gunzip |> Poison.Parser.parse |> elem(1) |> Enum.map(& &1["id"])
["Standard", "Hardcore", "SSF Standard", "SSF Hardcore", "Harbinger",
"Hardcore Harbinger", "SSF Harbinger", "SSF Harbinger HC",
"10 Day Mayhem (ORE004)", "10 Day Mayhem HC (ORE005)",
"10 Day Mayhem HC SSF (ORE006)"]
woo woo
Elixir?
yep
hehe nice
time to de-constantize the league parameter in a bunch of my code
what are you making?
random shit that's fun to build when i have a data stream to play with
did an affix solver earlier this league
what do you mean affix solver
try to compute the underlying affixes based on the mods of an identified items
so maybe an item has 6 mods, but 2 of them are hybrid. maybe i can still craft on it
probably next league i want to start doing some ML
i tried to do that, but was bangig my head against the wall too much
lost the interst in it
if you have something working, i'd be interseted in looking at your logic
totally got it working, integrated the repoe stuff to severely prune the search space
but many items have multiple possible solutions
yeah
and after i got it working, i realized i mostly didn't care what all the solutions were, just "are there open slots"
the trick is to find the one with the highest spawn weight, and display that one as the primary candidate
ah, that's a good idea
... and then once i got that working i decided it was time to throw a dashboard together in angular so i've been poking at that for the last little while
been meaning to learn angular for a while. this was a decent reason
cool.. you checking out Angular 5, or?
yeah
a friend said i should get into react, but i don't want to reset my progress on angular at this point
I havent touched angular at all to be honest, because i heard so much negative stuff about it
it can't be worse than ember
Yeah, we compared a bunch of libraries and frameworks at one of my companies, and went with React with Redux
i get kind of nauseous looking at jsx, but then i've felt that way about many languages at first glance
even so, it's probably worth adding to my list
yeah, so did I at first glance
I hear more positive stuff about Angular 2 (well, uh, 5 now) than React because of how clean Typescript is. I really enjoy React, but I'm definitely going to look into Angular 2
anybody got any suggestions for a python html parsing library?
@chrome topaz a league or two ago, my character name was BeautifulSoup
this was relevant to the fact that i was doing this all in python at the time
(afaik, https://www.crummy.com/software/BeautifulSoup/bs4/doc/ this is what most people use )
probably perandus league
yeah i tried it long time ago and it was pretty bad
that url does not inspire confidence
i found myself doing a lot of stuff like this: ilvl_cell = [ g for g in record.descendants if g.name == 'span' and g.get('data-name','') == 'ilvl' ]
wasn't amazing. it gave me access to the dom.
it outright returned empty results for a lot of ggg forum pages
unless there's some option, it's probably not going to execute any load-time javascript for you, so you only get the initial payload
http://pathofexile.com/forum/view-thread/71278 stuff like this probably would be empty...
i mean for normal forum threads
i know it's not gonna execute javascript lol
very first version of poe.trade
14 text files.
14 unique files.
39 files ignored.
http://cloc.sourceforge.net v 1.60 T=0.03 s (481.4 files/s, 28627.7 lines/s)
-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
Python 7 52 10 314
HTML 3 13 3 114
CSS 1 22 0 104
Javascript 1 26 15 94
Bourne Shell 1 0 0 6
-------------------------------------------------------------------------------
SUM: 13 113 28 632
-------------------------------------------------------------------------------
funny thing is, it still works somewhat
you can see our friend <set:MS> here
almost 5 years old
yeah well poe.trade's written in python so that's not gonna work
sounds good, I think I'll rewrite it in js first, then run every micro service in a docker container running on kubernetes
you don't have to run all of them. just the ones with sidecars that have a cool racing stripe
I went to get my wallet and it's shaking for some reason
I think I tried pyquery some time ago too
Don't remember much about it
lol, you boys...
Finding Splendour variants is a pain
ive resorted to checking the armour/evasion/es values in item properties
home sweet home
@chrome topaz lxml or bs, there's no third :|
lxml was faster on a bigger data sets last time i've checked, but it should be compiled from the source for windows if this matters for you
lxml is what I'm using it's kind of annoying though
@chrome topaz python 2 or 3?
cElementTree is a really fast implementation of ElementTree that you just need to change an include for
From what I know, it is about twice as fast as lxml and uses a third of the memory
2, but I should migrate to 3 someday
dealing with 2's unicode strings is the bane of my existence
HarbingerLeagueShards
Arcane
HarbingerShards
Brutality
Storms
Shards
Focus
Time
Directions
Any real reason why harbinger shards are divided into 3 itemtypes in the icon url?
where is this from?
I would probably avoid trying to read too much into it
in what folder are the assets that PoB uses
nvm found them
so, can windows developers explain something to me
what's the difference between %AppData%\Local and %ProgramData%
i don't really get when you'd use one over the other
if you resolve those paths, you'll see whats up
i know those are the intended storage spaces for data local to the program (and local to the machine, unlike Roaming)
but when do you use one over the other
AppData is tied to a user, meanwhile ProgramData isn't
oh
AppData => C:\Users\username\AppData(Local or Roaming)
ProgramData => C:\ProgramData
c# β€
speeeed
Span<byte> headerBytes = stackalloc byte[sizeof(int) * 2];
while (_fs.Position < _fs.Length)
{
_fs.Read(headerBytes);
RecordHeader header;
unsafe
{
fixed (byte* bt = &headerBytes[0])
{
header = *(RecordHeader*)bt;
}
}
//...
}
unsafe
pretty sure it's almost as fast without it with the new Span<T>
I have no problem with the keyword. I find it funnny when it is used though
what's funny about it?
odd choice in name
it describes what it does perfectly
depends on what it surrounds
so they're reinventing C?
unsafe has been there forever
unsafe is just a way you can use pointers
what's new is the new Span<T>, which is a safe way of dealing with native memory in a managed context.
not exactly reinventing c
and to ensure it's pinned to the stack, and not shoved to the heap
hopefully, strict pointer aliasing is next, to reach feature parity
I believe that the JIT engine is optimizing for some pointer aliasing for your managed structs at least
what I am hoping for is IL-analyzer that would tell me if my for loop should be broken up into smaller pieces to leverage L0 cache etc - those type of analyzers would be pretty neat
if you're worried about CPU caches you should be writing it in C/++ IMO
also, the joke here was that strict pointer aliasing blows ass
L0 cache isn't your typical cache
what?
L0 isn't a term that holds much meaning
why would you say that?
I have heard it in 3-4 different contexts
what the hell is L0 cache?
depends on who you ask
you're writing code in C# and you are worried about uop cache?
a lot of people use it to refer to the register file, some use it as a term to mean filtering L1 cache, etc. lol
not worried, but interested in it for my cpu bound operations
and yes, c# can haz speed as well - especially new .net core
im pretty sure every term has been misused, Emmitt
why not just use c?
lol?
may as well write some asm if you are that worried
who said I am "that worried"?
not worried, but interested in it for my cpu bound operations
I said it would be neat to have an analyzer that would point out where I can optimize my code
if you are running into cpu bound operations you are going to need something a bit better than an analyzer lol
do you even know what kind of analyzer I'm talking about? it sounds like you're not.
the kind of that does not exists lol
similar analyzers exists, and are easy to add to your c# projects through nuget packages or visual studio addins
i don't see a huge problem in creating one
would it ever make sense to break up a for loop into multiple? I'd think the decrease in speed caused by cache wouldn't be worth it
I mean data cache
yes, there are cases
there are limitations though, to when it's applicable
one limitation is your loop can't have branching
can you link some of these cases?
there's a few talks on it, search youtube
I checked both "L0 cache" and "uop cache" and don't see any talks
This talk touches somewhat on the subject, but others as well: https://www.youtube.com/watch?v=oxjT7veKi9c
pretty good talk all-around, actually
/cc @chrome topaz
watched the relevant part and it seemed pretty low on details or references or anything
well, if you want to dive deeper, go do the research... i don't have the links handy anymore, it was a long time ago
yep...
"For fun, I just ran perf stat against a short run of Firefox where I opened a tab and clicked around on a few Stack Overflow questions. For instructions delivered, I got 46% from DSB, 50% from legacy decoder and 4% for LSD. This shows that at least for big, branchy code like a browser the DSB still can't capture the large majority of the code (lucky the legacy decoders aren't too bad)."
agree.
well, there's a reason why you want 32 bit in some cases - if you do a lot of 4-byte primitive atomic operations
but norally, an x64 executable should run faster
hehe, imagine the work that it would require for operating systems etc
yeah, it's hilarious
how javascript can influence hardware manufacturers to create special instruction sets
start over, and just introduce DEC64 and be done with it.
Anyone know a lot about web hosting on VPS linux machine?
I've hosted a website on a linux machine once
Do you know if linux machines can come preconfigured or
Depends on the VPS host
does the OS need to be fully configured and stuff
Cause we want to buy a vps for hosting but
our current vps had everything done by the company cause we upgraded from their shared hosting package and we had no linux knowledge so they agreed
but now we need a new and better service from another company
but we have limited knowledge and right now is all the amazing black friday deals
not quite sure of your situation, but either:
- learn linux yourself
- ask the company you're looking at if they provide that service
well I have a programmer who knows how to navigate linux and install things but
- pay someone to configure the server for you
i dont think hes ever setup a linux machine from scratch
- its time sensitive due to black friday
You usually get a Linux OS of your choice that you just SSH into with the credentials that they provide, install your web server packages, and put your website in the right folder and voila
- not sure where i'd find someone trust worthy to do that
yea but dont u need to configure the linux os
You don't have to compile the kernel or anything
not really π€· also that's a problem for the future
you update packages every now and then, your programmer dude will have time to learn until then (it's not much to learn)
also he was complaining that our old host had restrictions on things like numproc
and kmemsize and such
being limited by the host
or maybe mysql connections limit
is there a terminology i can search for that means unrestricted for that type of thing?
not really - linux VPSes are usually really similar
you can get different distros but it won't really change any of those things
mysql connection limits can always be configured by yourself
and is it possible to move a OpenVZ linux server from one machine to another via root access?
just use a PaaS solution if you want to live worry-free
well the website is already developped fully
oh well i googled paas and i thought it was a platform to build apps on
its not quite what we want but thanks
what is it missing?
well whats the advantage of this over getting a linux box from any other company?
cause im a noob and not getting it
it's a managed application hosting. you don't have to worry about OS upgrades and shit
perhaps read more than the title of the page before dissing it
i never dissed it. im just looking for what we have now but more powerful for same cost during black friday
because i have no knowlegde of this stuff but im in charge of purchases
and the only variable i know is what we have now works
i gotta head to bed. thanks to you guys for answering questions . i appreciate it
so i think im done with the parsing part for now, now to do some frontend and usability stuff
will be fun cause this part i dont actually know so lots of figuring out ahead
writing some tests for my stuff because refactorings are getting more and more risky / error prone
mocking/stubbing in FP is a bit of a brainfuck at first
how's stockholm?
let's just say i wish we had california weather.
haha, yeah. i'm heading up to canada for christmas. !looking forward to the weather
which state do you live in?
CA / sfbay
ah
i wasn't too fond of san fran, when visiting there
it was june and it was cold and rainy
the city itself has weird weather conditions due to the geography
and we stayed at the intercontinental, one block away from a mental hospital... problem is that the mental hospital was outside, with no doctors.
but the food service is great
yeah, was there for the velocity conference. santa clara was warm and nice
oh nice. went to velocity last year but not this year
my favorite city is san diego though
but the service in santa monica was great.. stayed at a hotel called Huntley
Reading GGPK File...
Total records in GGPK: 443790
Elapsed time: 00:00:01.3979859```
not too shabby
you spooling that out to file as well?
nah, this is just parsing it
I would be amazed if I could both read, parse and write to disk in 1.4 seconds, considering it's 8 GB
indeed
disclaimer: that file's cached by the OS when read in 1.4 secs
@woeful ferry if you get a choice, prefer kvm over openvz
dedicated even better but dunno what your budget is
you can get a scaleway box for like 3 eur/mo
@chrome topaz Thanks we 'll look for kvm. Not sure that we can afford dedicated. our budget is about 25$ a month maybe up to 30$.
but on black friday/cyber monday we might be able to score a 70$+ value for the cost of 25
im just looking for what we have now but more powerful for same cost during black friday
I must have misinterpreted that. It sounded like you were going to sell something during holiday sales
can anybody recommend me a laptop that can play poe decently since black friday/cyber monday is up
you'd want a laptop with nvidia at least, amd gpu's plays poe horribly
https://www.youtube.com/watch?v=xpyx1vOF6qI @delicate ore
ha, i think im going to spend like 2 grand usd max
got anything in that area?
oh i see
hmm which laptop should i get with that xg station?
i guess i could get that asus tablet on the website for the rog station
would encourage me to play Osu
depends why you want a laptop in the first place
game development
is that enclosure compatible with a macbook?
i'd just get a macbook air or something and use that, with bootcamp for poe
not sure
ios development is a huge plus for me
if i'm going to get that enclosure, shouldn't i get something with a good processor and shit gpu?
these machines seem like overkill
I'd just get the laptop instead if you'd go for that one
i mean that would save me money, looking at the prices
can get this and the enclosure
you normally get what you pay for
that's a damn smart design actually
might have to replae my zenbook pro
disclaimer: that ethernet dongle is 100mbps, not 1gbps (at least for my zenbook pro)
do they have a gtx1070 version of this?
no idea
ah they do
going to get that one probably
oh i just realized this is Linus
haven't seen his vids in a while
I mean, if you don't have a desktop and wont move it around too much, get a desktop first and foremost
it beats anything mobile
I found myself buying oversized laptops. I never did much major stuff on my laptop, as they were mainly used in meetings and doing simpler tasks. So i opted for nice CPU, but lightweight zenbook
and then a desktop monster PC for everything else
Anyone knows where i can find a list of all unique items?
@delicate ore Thanks
@woeful ferry i suggest hetzner https://www.hetzner.com/sb
hetzner is good and relatively cheap, recommend it as well π
though there are some better vserver offers out there, but the dedicated ones have really good terms and are cheap
oh wow you need to bid on servers? hmm im worried my noobness is gonna hurt me here but ill read up on it
yea but your link is out of my budget. you missed the previous conversation about that
im not the programmer so forgive my lack of knowledge with the terminology but
theres definitely lots of stuff going on back end yea
think of poe.trade website but for diablo2
as well as ladder rankings
the bidding on servers is to get old servers for cheap
the new ones have a fixed price
and the bid price is for 1 month? and then u lock in that price each month?
once you've won you keep that price forever
well, until you cancel the srever
which runs for 1m at least
though it's not really bidding in the tradtional sense
they just lower server prices every so many hours until it doesnt go any lower or someone picks it up
interesting
oh but they dont even come with an os installed? you need to configure everything yourself right?
@pseudo ocean no.. I use Ubiquiti edgerouter and for wifi Asus RT-AC68U, but I will probably upgrade the wifi now that we have a larger home.
you install the os via their control panel
they have a bunch of linux distributions
if you want windows you'll have to shell out some money for that
I couldn't find any wan-to-lan speeds on their products, customer support kept linking me wifi mbps speeds lol
do they have windows in trial mode so you can use your own key?
doesnt seem like it
lol, never heard of Svive before. looks like total garbage
I wouldnt recommend windows for servers anyway
im mostly looking for linux anyway but sometimes I get windows for other stuff
nothing wrong with window server
everything is wrong with windows server :x
lol, you're one of the cool guys who just say that, or do you have actual experience dealing with windows servers professionally?
I've used windows server before and the only reason I'll ever use it again is if there is no other choice
but if you really love it for some reason I'm not going to stop you from using it
what's wrong with it?
expensive and restrictive licensing, lack of fine tuning to the extend you can with linux, really shitty built in fire wall, personally I think it's less productive and a pain in the arse to use, that it comes with a GUI, generally the closed source, proprietary solutions versus open source for a number of things you might want to run or use
MS has been trying to bandaid some of the problems with putting linux tools on windows
the main reason I see to use windows server at all is if you have some kind of windows infrastucture and really need windows for that purpose or some software that doesn't work on linux
we run a bit of servers in our business (last time I checked, it was 250-260 servers)
the windows servers have had better stability than the linux ones
I've never liked windows servers
they also perform better (request throughput, and so on)
lol
I've had way better preformance on linux, so long it was properly tuned for the task it was used for
but to be fair, some applications are optimized for windows and not ported properly to linux so some specific programs have very large performance differences between the two
but again was mostly closed source software
and the same goes for linux
I'd rather configure linux, much easier
one thing that windows is lacking, is container isolation which isn't up to par with linux's
I dont know whether it has improved but windows firewall is basically garbage
lol, compared to ufw that is so awesome
iptables solved so many network attacks without the need for dedicated firewalls
well, software firewalls are pretty much garbage
works great for your random script kiddie, but once you're actually attacked, pfSense, firewall-1, iptables etc will not have a great time
depends what you mean by "actually attacked", a large DDoS attack will cause a struggle anyway, and iptables is -extremly- efficent for targeted attacks.
besides it can be useful for local rerouting and other stuff
i guess it depends on your situation, for your average site will likely be fine and won't have large targeted attacks
all it takes is to piss off someone with some computer knowledge
heh... it takes a little more than some computer knowledge in my observations.
it requires dedication and resources to manage a large botnet
yeah, the rent-a-botnet is a thing, indeed. but the larger attacks will require some serious dough
but besides DDoS doing specific attacks can bring down a service anyway
but that generlaly requires knowledge of the software involved, it's usually targeting specific bugs
normally you will need 0-day vulnerabilities, which you can find and buy if you're not able to do the research yourself (which I personally wouldn't find feasible), it's gonna cost you enough money to steer away 99%+ of pissed-of-people
@woeful ferry it's the only ones that fit your budget. you don't bid on them, how it works is every X minutes the price decreases. then you can buy it and you will have it at that price per month
obviously, if it decreases too much, somebody else could buy it before you
and yeah they are older than hetzner's normal offerings but also cheaper
oh I see Omega_K2 already explained it
you can buy a DDoS attack for pennies
and when you have a 1 Gbps pipe and it's all flooded with udp traffic, a software firewall won't do shit
it's just an example from my experience
hetzner used to have 0 ddos protection
all you get in case of an attack is a nice email telling they'll null route your server if the attack starts affecting their network
but now apparently they do have some anti-ddos
thankfully i don't yet know how effective it is
i thought u were behind cloudflare
that's when i turned it on
i didn't like the idea of cloudflare initially
but it's not like there were any other options
the only other option I could see instead of cloudflare Γ‘ la revese-proxy , would be BGP, and it'll cost you quite a bit
I believe starting at around $2K/month
yeah that's way too expensive
anything over $30/mo i'd be like ehhh i can probably reimplement this myself for cheaper
yeah, not something you'd want for a hobby-esque site for sure
if you're handling people's money and such, it's useful. reputation damages of going down by itself can be detrimental
and you normally get a bunch of other fluff for those 2k as well
It all depends β’
if you're dedicated enough, you can ddos anything
at way cheaper the price than it'd cost to protect it
it's a good thing that people who have the skill usually don't do that
try see how much it'd cost you to run 100Gbps+ DDoS attack for let's say a week
you don't need 100 Gbps
if you have cloudflare / incapsula enterprise, you're gonna need more than 100 Gbps
you ddos expensive pages
100 Gbps is basically if you have a hammer everything looks like a nail kind
if you're smart you bring down application level
and there's nothing they can do other than optimize it, cache more, buy more servers, etc
that's why you have both layer 4 and 7 protection
and for 99%+ of sites out there, those attacks aren't worth these people's time
there's python scripts on github to bypass cloudflare bullshit
well, cloudflare is bullshit π
which is under 200 lines
the problem are web devs and IoT devices
and web devs are the problem because they are writing IoT devices stuff now...
the problem is people learning to program without fundamental computing education
"I picked up this python for dummies book... I'm now a professional programmer"
coding bootcamps etc
it is a weird feeling that somewhere an IoT vibrator might be DDoS'ing your website
LOL
here's a recent example https://statuscode.ch/2017/11/from-markdown-to-rce-in-atom/
an xss in slack desktop app? you better hope they have proper Content-Security-Policy (they don't)
y u no self host
because it's 2017
