/tech/ - Technology

Brought to you by archive.org

Posting mode: Reply

Name
Email
Subject
Comment
Password
Drawing x size canvas
File(s)

Remember to follow the rules

Max file size: 350.00 MB

Max files: 5

Max message length: 4096

Manage Board | Moderate Thread

Return | Catalog | Bottom

Expand All Images


odilitime 06/28/2017 (Wed) 14:10:02 [Preview] No. 8767
/g/'s building a web browser
http://boards.4chan.org/g/thread/61078788

OSX Fork (pic related)
https://gitgud.io/odilitime/netrunner

dicsuss


odilitime 06/28/2017 (Wed) 23:09:33 [Preview] No. 8777 del
just added a font file cache commit to my repo. New to this newer C++ stuff. Save .5s on a 6.5s DOM (large endchan thread)


Anonymous 06/29/2017 (Thu) 04:22:42 [Preview] No. 8781 del
Already gave my opinion on lainchan.org: should have more focus on privsep, sandboxing, W^X, non-deterministic PRNG (arc4random) and, maybe, formal proof and verification (easier with dependent-type language and a model with UML).


Anonymous 06/29/2017 (Thu) 21:25:29 [Preview] No. 8793 del
>>8781
We're going to focus on the basics first. You're always welcomed to fork and make your own.


Anonymous 06/30/2017 (Fri) 00:31:15 [Preview] No. 8794 del
I amm using link2 now. So I like what the other anon mentioned about sandboxing. Now links and links2 have default modes that are simular to elinks and w3m. However the graphics mode launches a new window. Shouldn't this not have a default text mode and initially launch through sandboxed filesystem and portability?


Anonymous 06/30/2017 (Fri) 01:04:02 [Preview] No. 8795 del
>>8794
I think that's more of a packaging issues then something that needs to be baked into the product


Anonymous 06/30/2017 (Fri) 02:36:11 [Preview] No. 8796 del
>>8795
I would agree. I enjoy link2 and I think endjail.sh from /os/ is a good placeholder. Also https://github.com/adtac/fssb is a good insulator.

I need to stay in my lane here but as a frequent user of links2 I immediatly notice an issue with file upload and have not tried manually linking the full path to the file instead of selecting from a popup window or dragging and dropping. I looked over the goals/ideal features. and I hope there will be like a user.js or prefs.js to configure and add features. .


Anonymous 06/30/2017 (Fri) 03:14:08 [Preview] No. 8797 del
(176.39 KB 961x695 bypassed.png)
I noticed that the block bypass works in links. Initially it did not work when the block bypass was first enforced.I think it was a strict header policy or something that made it redirect to the accounts.js login page.

Also you can not log into an endchan account on links but you can post text posts. Some of the limits I noticed so far. Also there is an issue where the program has to be restarted after you make a post because you can not update posts in threads even after posting a new reply you have to restart the browser to see the updated index. Same thing if you fail the block bypass or the captcha expires you can not reload a new caotcha image


Anonymous 06/30/2017 (Fri) 18:40:00 [Preview] No. 8801 del
>>8797
>not reload a new captcha image
It does not happen to me. I'm using 2.8 version. My config file (~/.links2/links.cfg):



download_dir ""
language "English"
max_connections 10
max_connections_to_host 1
retries 3
receive_timeout 120
unrestartable_receive_timeout 600
bind_address ""
bind_address_ipv6 ""
async_dns 0
download_utime 0
format_cache_size 0
memory_cache_size 0
image_cache_size 0
font_cache_size 0
http_bugs.aggressive_cache 0
ipv6.address_preference 3
http_proxy ""
ftp_proxy ""
https_proxy ""
socks_proxy "127.0.0.1:9050"
append_text_to_dns_lookups ""
only_proxies 1
http_bugs.http10 0
http_bugs.allow_blacklist 1
http_bugs.bug_302_redirect 1
http_bugs.bug_post_no_keepalive 1
http_bugs.no_accept_charset 0
http_bugs.no_compression 0
http_bugs.retry_internal_errors 0
http_do_not_track 1
http_referer 0
fake_referer ""
fake_useragent "Mozilla/5.0 (Windows NT 6.1; rv:45.0) Gecko/20100101 Firefox/45.0"
http.extra_header ""
ftp.anonymous_password "somebody@host.domain"
ftp.use_passive 0
ftp.use_eprt_epsv 0
ftp.fast 0
ftp.set_iptos 1
smb.allow_hyperlinks_to_smb 0
menu_font_size 16
background_color 14737632
foreground_color 0
scroll_bar_area_color 12632256
scroll_bar_bar_color 0
scroll_bar_frame_color 0
bookmarks_file "/home/user/.links2/bookmarks.html"
bookmarks_codepage utf-8
save_url_history 1
display_red_gamma 2.2000
display_green_gamma 2.2000
display_blue_gamma 2.2000
user_gamma 1.0000
bfu_aspect 1.0000
display_optimize 1
dither_letters 1
dither_images 1
gamma_correction 1
overwrite_instead_of_scroll 1
extension "xpm" "image/x-xpixmap"
extension "xls" "application/excel"
extension "xbm" "image/x-xbitmap"
extension "wav" "audio/x-wav"
extension "tiff,tif" "image/tiff"
extension "tga" "image/targa"
extension "sxw" "application/x-openoffice"
extension "swf" "application/x-shockwave-flash"
extension "svg" "image/svg"
extension "sch" "application/gschem"
extension "rtf" "application/rtf"
extension "ra,rm,ram" "audio/x-pn-realaudio"
extension "qt,mov" "video/quicktime"
extension "ps,eps,ai" "application/postscript"
extension "ppt" "application/powerpoint"
extension "ppm" "image/x-portable-pixmap"
extension "pnm" "image/x-portable-anymap"
extension "png" "image/png"
extension "pgp" "application/pgp-signature"
extension "pgm" "image/x-portable-graymap"
extension "pdf" "application/pdf"
extension "pcb" "application/pcb"
extension "pbm" "image/x-portable-bitmap"
extension "mpeg,mpg,mpe" "video/mpeg"
extension "mid,midi" "audio/midi"
extension "jpg,jpeg,jpe" "image/jpeg"
extension "grb" "application/gerber"
extension "gl" "video/gl"
extension "gif" "image/gif"
extension "g" "application/brlcad"
extension "gbr" "application/gerber"
extension "fli" "video/fli"
extension "dxf" "application/dxf"
extension "dvi" "application/x-dvi"
extension "dl" "video/dl"
extension "deb" "application/x-debian-package"
extension "avi" "video/x-msvideo"
extension "au,snd" "audio/basic"
extension "aif,aiff,aifc" "audio/x-aiff"
video_driver "x" "765x662" "" ISO-8859-1



Anonymous 06/30/2017 (Fri) 21:40:24 [Preview] No. 8803 del
why not just use luakit or qutebrowser and configure them to your liking ? the luakit fork even has domain rules.


Anonymous 06/30/2017 (Fri) 21:50:56 [Preview] No. 8804 del
>>8803
because webkit.


odilitime 06/30/2017 (Fri) 22:10:28 [Preview] No. 8805 del
>>8803
Because we want to built something different than those specific projects.


Anonymous 07/01/2017 (Sat) 09:21:36 [Preview] No. 8814 del
>>8804
Just fucking configure it to the max and throw it in a sandbox.
>>8805
By forking an old unmaintained codebase ?


Anonymous 07/02/2017 (Sun) 12:10:40 [Preview] No. 8816 del
>>8814
We just used links as a reference, we started with a fresh code base. Look at the gitgud repo in OP


Anonymous 07/02/2017 (Sun) 21:12:06 [Preview] No. 8817 del
(23.43 KB 600x349 RAII.png)
(123.82 KB 1164x958 netrunner quality.png)
>Makefile is OSX only
consider pkg-config

>-O3
>no stack protection
>pic related
>NTR
Great naming sense namefag


Anonymous 07/02/2017 (Sun) 23:37:55 [Preview] No. 8818 del
>>8817
linux makefile is here https://git.teknik.io/gyroninja/netrunner/

What's wrong with -O3?

That parser is better than a regex one another anon suggested.


Anonymous 07/02/2017 (Sun) 23:39:06 [Preview] No. 8819 del
>>8817
Really fucking curious why it sigserv'd without a URL...


Anonymous 07/03/2017 (Mon) 12:49:37 [Preview] No. 8824 del
>>8818
>>8819
>O3
https://wiki.gentoo.org/wiki/GCC_optimization#-O

>parser
The issue is the code redundancy. If you are writing the same thing with little changes a lot of times, you are doing something wrong.

>segfault
A C/C++ program should never segfault under any circumstance.
https://en.wikipedia.org/wiki/Undefined_behavior
>It is the responsibility of the programmer to write code that never invokes undefined behavior.
>In scenarios where security is critical, undefined behavior can lead to security vulnerabilities in software.
That's why anons told you to be careful with C/C++.

>different repo for different OS
Why ? You are using a portable language with portable libraries.


Anonymous 07/03/2017 (Mon) 14:54:17 [Preview] No. 8825 del
not related but does links still not have custom keybindings ?


Anonymous 07/03/2017 (Mon) 15:44:03 [Preview] No. 8827 del
(116.12 KB 277x400 _.gif)
>>8781
holy shit this is bait.
and formal proofs for webshit, mfw


Anonymous 07/03/2017 (Mon) 19:49:47 [Preview] No. 8829 del
>>8827
Bait? Explain your self.
Only NSA would say that non-deterministic PRNG and sandbox/privsep is bait. Are you NSA?


Anonymous 07/17/2017 (Mon) 08:06:27 [Preview] No. 10420 del
cant post on 4jizz /g/ without having to use a non banned proxy or personal ip so ill ask this here.I and am having issues compiling. Is it usually a dependency thing or do you just make && sudo make install ?


Anonymous 07/17/2017 (Mon) 13:41:55 [Preview] No. 10422 del
>>10420
The following works on Arch.
`

sudo pacman -Suy glew glfw freetype2 harfbuzz
git clone https://git.teknik.io/gyroninja/netrunner/
cd netrunner && make
`

There is no install directive; just copy
netrunner
binary to a dir in your PATH.

But even if it compiles it is broken as no webpage gets rendered.


Anonymous 07/17/2017 (Mon) 21:53:05 [Preview] No. 10423 del
>>10422
Ok thank you I thought it was operable. Now the goals of a rendering engine and whatnot make sense.



Top | Return | Catalog | Post a reply